Skip to content

Validate that trigger configurations must include a file pattern.#7702

Open
labkey-klum wants to merge 5 commits into
developfrom
fb_filewatcher_improvements
Open

Validate that trigger configurations must include a file pattern.#7702
labkey-klum wants to merge 5 commits into
developfrom
fb_filewatcher_improvements

Conversation

@labkey-klum
Copy link
Copy Markdown
Contributor

@labkey-klum labkey-klum commented May 27, 2026

Rationale

related issue: https://github.com/LabKey/internal-issues/issues/1093

The current pipeline trigger UI will allow the creation of a trigger with a blank file regex. This is bad because it results in a configuration that matches anything in the watched location(s). This includes artifacts generated by the pipeline tasks such as .log files and pipeline protocol information stored in the .labkey system directory. When this happens the configuration will continue to trigger itself endlessly and fill up the quiet period queue with jobs for each newly created file.

The only way to stop this is to disable or delete the trigger, but then the in-memory queue will continue to add new pipeline jobs until it is eventually drained (unless the server is restarted prior to that).

Related Pull Requests

Changes

Mark the file pattern field as required for pipeline trigger configurations. Also add a server side check.

@labkey-klum labkey-klum requested a review from cnathe May 28, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant